using namespace std;
#include <iostream>

template <class T>
inline T square(T x)
{
    return x * x;
}

int
main(int argc, char *argv[])
{
    int a = 2;
    float b = 15.03;

    cout << "a^2: " << square(a) << endl;
    cout << "b^2: " << square(b) << endl;

    return 0;
}

